package ls.dom4j.erp.student.service;

import ls.dom4j.erp.student.entity.StudentEntity;

public interface StudentService {
	
	/**
	 * 添加一个学生
	 * @param entity 学生对象
	 * @throws Exception
	 */
	void add(StudentEntity entity) throws Exception;
	
	/**
	 * 删除一个学生
	 * @param studentName
	 * @throws Exception
	 */
	void deleteByName(String studentName) throws Exception;
	
	void update(int id,String name) throws Exception;
	
}
